var runtime.gomaxprocs
31 uses
runtime (current package)
debug.go#L76: ret := int(gomaxprocs)
debug.go#L125: curr := gomaxprocs
mcleanup.go#L709: return uint32(max(gomaxprocs/4, 1))
metrics.go#L465: out.scalar = uint64(gomaxprocs)
mgc.go#L821: work.stwprocs, work.maxprocs = gomaxprocs, gomaxprocs
mgc.go#L881: gcController.startCycle(now, int(gomaxprocs), trigger)
mgc.go#L1170: gcController.endCycle(now, int(gomaxprocs), work.userForced)
mgc.go#L1678: if gcBgMarkWorkerCount >= gomaxprocs {
mgc.go#L1693: for gcBgMarkWorkerCount < gomaxprocs {
mgcpacer.go#L729: if gomaxprocs <= 1 {
mgcpacer.go#L738: id := int32(cheaprandn(uint32(gomaxprocs - 1)))
mgcscavenge.go#L413: return gomaxprocs
mstats.go#L635: for i := 0; i < int(gomaxprocs); i++ {
mstats.go#L973: s.TotalTime = sched.totaltime + (now-sched.procresizetime)*int64(gomaxprocs)
proc.go#L1658: sched.stopwait = gomaxprocs
proc.go#L1771: procs := gomaxprocs
proc.go#L2148: sched.safePointWait = gomaxprocs - 1
proc.go#L3182: if sched.npidle.Load() == gomaxprocs-1 && sched.lastpoll.Load() != 0 {
proc.go#L3517: if mp.spinning || 2*sched.nmspinning.Load() < gomaxprocs-sched.npidle.Load() {
proc.go#L6034: old := gomaxprocs
proc.go#L6244: var int32p *int32 = &gomaxprocs // make compiler check that gomaxprocs is an int32
proc.go#L6524: if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
proc.go#L6526: if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
proc.go#L6906: print("SCHED ", (now-starttime)/1e6, "ms: gomaxprocs=", gomaxprocs, " idleprocs=", sched.npidle.Load(), " threads=", mcount(), " spinningthreads=", sched.nmspinning.Load(), " needspinning=", sched.needspinning.Load(), " idlethreads=", sched.nmidle, " runqueue=", sched.runq.size)
proc.go#L7129: curr := gomaxprocs
proc.go#L7300: n = min(n, sched.runq.size, sched.runq.size/gomaxprocs+1)
proc.go#L7944: if i >= active_spin || numCPUStartup <= 1 || gomaxprocs <= sched.npidle.Load()+sched.nmspinning.Load()+1 {
runtime2.go#L1404: gomaxprocs int32
trace.go#L428: tl.Gomaxprocs(gomaxprocs) // Get this as early in the trace as possible. See comment in traceAdvance.
trace.go#L619: tl.Gomaxprocs(gomaxprocs)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |